<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>其他改变</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration53.ini.html">INI 文件处理改变</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div>
 <div class="up"><a href="migration53.html">从 PHP 5.2.x 移植到 PHP 5.3.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration53.other" class="section">
  <h2 class="title">其他改变</h2>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="splfileinfo.getpathinfo.html" class="function">SplFileInfo::getpathinfo()</a></span> 现在返回 path name 信息.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <a href="class.splobjectstorage.html" class="classname">SplObjectStorage</a> 现在支持 <strong class="classname">ArrayAccess</strong>. 现在可以在 <a href="class.splobjectstorage.html" class="classname">SplObjectStorage</a> 中存储关联信息对象.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     在 GD 扩展中, 通过 <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> 函数, 可以提供像素支持.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.var-dump.html" class="function">var_dump()</a></span> 的输出现在包含对象的私有属性.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     如果会话启动失败, <span class="function"><a href="function.session-start.html" class="function">session_start()</a></span> 现在将返回 <strong><code>FALSE</code></strong>.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.property-exists.html" class="function">property_exists()</a></span> 可以检查一个属性的存在性, 而不管它的访问控制类型(类似于 <span class="function"><a href="function.method-exists.html" class="function">method_exists()</a></span>).
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <a href="ini.core.html#ini.include-path" class="link">include_path</a> 现在可以使用<a href="wrappers.html" class="link">Stream 包装器</a>.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.array-reduce.html" class="function">array_reduce()</a></span> 函数的 <em><code class="parameter">initial</code></em> 参数现在可以是任何类型.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     如果没有明确传递上下文环境, <a href="ref.dir.html" class="link">目录函数</a> <span class="function"><a href="function.opendir.html" class="function">opendir()</a></span>, <span class="function"><a href="function.scandir.html" class="function">scandir()</a></span>, 和
     <span class="function"><a href="function.dir.html" class="function">dir()</a></span> 将使用默认的流上下文环境.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.crypt.html" class="function">crypt()</a></span> 函数支持 Blowfish 和 DES 算法, 并且 <span class="function"><a href="function.crypt.html" class="function">crypt()</a></span> 的特点是非常便捷. 
     PHP 有它自己内部的算法实现, 不管是否找到 <em>crypt</em> 或 <em>crypt_r</em>.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     在全部平台上, <span class="function"><a href="function.getopt.html" class="function">getopt()</a></span> 开始接受&quot;长选项&quot;. 可选值和作为短选项分隔符的 <em>=</em> 被支持.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.fopen.html" class="function">fopen()</a></span> 新增了一个模式选项(<em>n</em>), 它传递 <strong><code>O_NONBLOCK</code></strong> 常量给底层的 <em>open()</em> 系统调用. 注意, Windows 上该模式尚未得到支持. 
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.getimagesize.html" class="function">getimagesize()</a></span> 现在支持 icon 文件 (.ico).
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     mhash 扩展已经移动至 PECL, 但如果 PHP 使用 <em>--with-mhash</em> 选项参数进行编译, <a href="ref.hash.html" class="link">Hash</a> 扩展也将提供 mhash 支持. 注意, 不管是否开启 mhash 算法, Hash 扩展都无需 mhash 库可用.
    </span>
   </li>
  </ul>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration53.ini.html">INI 文件处理改变</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div>
 <div class="up"><a href="migration53.html">从 PHP 5.2.x 移植到 PHP 5.3.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
